package com.xiaomei.manager.dao;

import java.util.List;

import com.xiaomei.manager.model.Position;
import com.xiaomei.manager.web.dto.CountDto;

public interface PositionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Position record);

    int insertSelective(Position record);

    Position selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Position record);

    int updateByPrimaryKey(Position record);
    /**
     * 24小时在线用户量
     * @return
     */
   CountDto selectOnLineCount();
   /**
    * 返回所有的假用户
    * @return
    */
   List<Position> selectAll();
}